#!/usr/bin/env python

def build(build):
	mdns = build(
		features='c',
		# symbolic name used to reference this object
		name = 'mdns',
		target = 'libmshare-mdns',
		# name of the resulting program
		# prog.target = 'libmshare'
		source = 'mshare-mdns.vala',
		# libraries to link against
		uselib = 'GLIB GOBJECT AVAHI',
		# Vala packages to use
		packages = ['gio-2.0', 'gee-1.0', 'avahi-gobject'],
		#gir = 'libmshareMdns-1.0',
		# Extra vapi dirs
		#prog.vapi_dirs = '../my_lib'
		# Enable threading
		#prog.threading = True
	)

	build.add_subdirs('dmap')